const user = require('../../modle/shopperuser')
module.exports = {
    async finduser(data) {
        return await user.findOne({
            where: {
                ...data
            }
        })
    },
    async createuser(data) {
        return await user.create(data)
    }
}